using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace OpenEPN
{
    public partial class fen_GestMail : Form
    {
        public fen_GestMail()
        {
            InitializeComponent();
        }

        private void fen_GestMail_Load(object sender, EventArgs e)
        {
            DA.StreamXml.MailingConfigXml configmailing = new DA.StreamXml.MailingConfigXml();
            textBox1.Text = configmailing.ServeurSmtp;
            textBox2.Text = configmailing.NomExpediteur;
            textBox3.Text = configmailing.AdresseExpediteur;
            textBox4.Text = configmailing.LoginSmtp;
            textBox5.Text = configmailing.MotPasseSmtp;
            textBox6.Text = configmailing.Port;
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}